package com.boat.io.asmr111;

import com.boat.io.LineFilter;

public class Mp3LineFilter implements LineFilter {
    public String contains(String line) {
        return this.contains(line,true);
    }

    public String contains(String line, Boolean b) {
        String filterContent = "data-track-url=\"";
        if(line.indexOf(filterContent)>=0){
            line = line.substring(line.indexOf(filterContent)+filterContent.length());
            line = line.substring(0,line.indexOf("\""));
            return line;
        }
        return null;
    }
}
